package com.macro.mall.mapper;

import com.macro.mall.model.PmProdServiceType;
import com.macro.mall.model.PmProdServiceTypeExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PmProdServiceTypeMapper {
    long countByExample(PmProdServiceTypeExample example);

    int deleteByExample(PmProdServiceTypeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmProdServiceType record);

    int insertSelective(PmProdServiceType record);

    List<PmProdServiceType> selectByExample(PmProdServiceTypeExample example);

    PmProdServiceType selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmProdServiceType record, @Param("example") PmProdServiceTypeExample example);

    int updateByExample(@Param("record") PmProdServiceType record, @Param("example") PmProdServiceTypeExample example);

    int updateByPrimaryKeySelective(PmProdServiceType record);

    int updateByPrimaryKey(PmProdServiceType record);
}